<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="registration.aspx.cs" Inherits="_Default" Title="Registration" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
// <!CDATA[

function HR1_onclick() {

}

// ]]>
</script>
    
    <table class="mainTable" style="width: 960px" cellpadding="0" cellspacing="2">
    <tr>
        <td colspan="5">
            <hr/>
            <span style="font-size: 14pt">Register : Enter Information</span>
        <hr/>
        </td>
    </tr>
    <tr>
        <td colspan="5">
                Register now to buy or sell on MWIS site .
                It's easy and free. All ready registered? <strong>
                <asp:HyperLink ID="HyperLink1" runat="server">Sign in Now</asp:HyperLink><br />
                <asp:HyperLink ID="HyperLink2" runat="server">Want to register as a Business?</asp:HyperLink></strong>
        </td>
    </tr>
    <tr>
        <td colspan="5"><hr />
                <span style="font-size: 14pt">Your Personal Information </span><hr />
                </td>
    </tr>
    <tr>
        <td style="width: 48px; height: 20px">
                <asp:Label ID="Label1" runat="server" Text="First Name:" Width="257px"></asp:Label>
        </td>
        <td colspan="4" style="height: 20px">
                <asp:TextBox cssClass= "mwisTextBox" ID="txtFirstName" runat="server"></asp:TextBox>&nbsp;
            <asp:RequiredFieldValidator ID="rfvFName" ControlToValidate="txtFirstName" Text="First Name is Required." runat="server"/>
        </td>
    </tr>
    <tr>
        <td style="width: 48px; height: 16px">
            <asp:Label ID="Label2" runat="server" Text="Last Name:" Width="257px"></asp:Label>
        </td>
        <td colspan="4">
            <asp:TextBox cssClass="mwisTextBox" ID="txtLastName" runat="server"></asp:TextBox>&nbsp;
             <asp:RequiredFieldValidator ID="rfvLName" ControlToValidate="txtLastName" Text="Last Name is Required." runat="server"/>
        </td>
    </tr>
    <tr>
        <td style="width: 48px; height: 8px;">
            <asp:Label ID="Label3" runat="server" Text="Address :" Width="257px"></asp:Label>
        </td>
        <td colspan="4" style="height: 8px">
            <asp:TextBox cssClass="mwisTextBox" ID="txtAddress" runat="server" Width="490px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="width: 48px; height: 6px;">
            <asp:Label ID="Label8" runat="server" Text="Postal Code(Area):" Width="257px"></asp:Label>
        </td>
        <td colspan="4" style="height: 6px">
            <asp:TextBox cssClass="mwisTextBox" ID="txtArea" runat="server"></asp:TextBox>&nbsp;
            <asp:RequiredFieldValidator ID="rfvArea" ControlToValidate="txtArea" Text="Postal Code is Required." runat="server"/>
        </td>
    </tr>
    <tr>
        <td style="width: 48px; height: 10px">
            <asp:Label ID="Label17" runat="server" Text="District" Width="257px"></asp:Label>
        </td>
        <td style="width: 109px; height: 10px" colspan="4">
            <asp:DropDownList cssClass="mwisTextBox" ID="drpdDistrict" runat="server" Width="120px">
                <asp:ListItem>Ampara</asp:ListItem>
                <asp:ListItem>Anuradhapura</asp:ListItem>
                <asp:ListItem>Badulla</asp:ListItem>
                <asp:ListItem>Batticalo</asp:ListItem>
                <asp:ListItem>Colombo</asp:ListItem>
                <asp:ListItem>Galle</asp:ListItem>
                <asp:ListItem>Gampaha</asp:ListItem>
                <asp:ListItem>Hambantota</asp:ListItem>
                <asp:ListItem>Jaffna</asp:ListItem>
                <asp:ListItem>Kalutara</asp:ListItem>
                <asp:ListItem>Kandy</asp:ListItem>
                <asp:ListItem>Kegalle</asp:ListItem>
                <asp:ListItem>Kilinochchi</asp:ListItem>
                <asp:ListItem>Kurunegala</asp:ListItem>
                <asp:ListItem>Mannar</asp:ListItem>
                <asp:ListItem>Matara</asp:ListItem>
                <asp:ListItem>Matela</asp:ListItem>
                <asp:ListItem>Monaragala</asp:ListItem>
                <asp:ListItem>Mullaitivu</asp:ListItem>
                <asp:ListItem>Nuwara-Eliya</asp:ListItem>
                <asp:ListItem>Polonnaruwa</asp:ListItem>
                <asp:ListItem>Puttalam</asp:ListItem>
                <asp:ListItem>Ratnapura</asp:ListItem>
                <asp:ListItem>Trincomalee</asp:ListItem>
                <asp:ListItem>Vavuniya</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="width: 48px; height: 4px;">
            <asp:Label ID="Label5" runat="server" Text="Email Address :" Width="257px"></asp:Label>
        </td>
        <td style="width: 109px; height: 4px;" colspan="4">
            <asp:TextBox cssClass="mwisTextBox" ID="txtEmail" runat="server" Width="257px"></asp:TextBox>
        </td>
    </tr>
        <tr>
        <td rowspan="2" >
            <asp:Label ID="Label4" runat="server" Text="Contact Number:"></asp:Label>
        </td>
            <td colspan="2">
            <asp:Label ID="Label6" runat="server" Text="Mobile No:" Width="111px"></asp:Label></td>
            <td colspan="2">
            <asp:Label ID="Label7" runat="server" Text="Land Phone No:" Width="135px"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="2">
            <asp:TextBox cssClass="mwisTextBox" ID="txtMobile" runat="server"></asp:TextBox></td>
            <td colspan="2">
            <asp:TextBox cssClass="mwisTextBox" ID="txtLandPhone" runat="server"></asp:TextBox></td>
        </tr>
    <tr>
        <td colspan="5">
            Telephone is required in case there are questions about your account.
        </td>
    </tr>
        <tr>
        <td>
            <asp:Label ID="Label12" runat="server" Text="Date of Birth:" ></asp:Label>
        </td>
        <td colspan="4">
            <table class="mainTable" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width: 60px">
            <asp:Label ID="Label13" runat="server" Text="Date:"></asp:Label></td>
                    <td style="width: 80px">
                        <asp:DropDownList cssClass="mwisTextBox" ID="lstDate" runat="server">
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
                <asp:ListItem>6</asp:ListItem>
                <asp:ListItem>7</asp:ListItem>
                <asp:ListItem>8</asp:ListItem>
                <asp:ListItem>9</asp:ListItem>
                <asp:ListItem>10</asp:ListItem>
                <asp:ListItem>11</asp:ListItem>
                <asp:ListItem>12</asp:ListItem>
                <asp:ListItem>13</asp:ListItem>
                <asp:ListItem>14</asp:ListItem>
                <asp:ListItem>15</asp:ListItem>
                <asp:ListItem>16</asp:ListItem>
                <asp:ListItem>17</asp:ListItem>
                <asp:ListItem>18</asp:ListItem>
                <asp:ListItem>19</asp:ListItem>
                <asp:ListItem>20</asp:ListItem>
                <asp:ListItem>21</asp:ListItem>
                <asp:ListItem>22</asp:ListItem>
                <asp:ListItem>23</asp:ListItem>
                <asp:ListItem>24</asp:ListItem>
                <asp:ListItem>25</asp:ListItem>
                <asp:ListItem>26</asp:ListItem>
                <asp:ListItem>27</asp:ListItem>
                <asp:ListItem>28</asp:ListItem>
                <asp:ListItem>29</asp:ListItem>
                <asp:ListItem>30</asp:ListItem>
                <asp:ListItem>31</asp:ListItem>
                <asp:ListItem></asp:ListItem>
            </asp:DropDownList></td>
                    <td style="width: 60px">
            <asp:Label ID="Label14" runat="server" Text="Month:" Width="35px"></asp:Label></td>
                    <td style="width: 80px">
                        <asp:DropDownList cssClass="mwisTextBox" ID="lstMonth" runat="server" Width="75px" OnSelectedIndexChanged="lstMonth_SelectedIndexChanged">
                <asp:ListItem>January</asp:ListItem>
                <asp:ListItem>February</asp:ListItem>
                <asp:ListItem>March</asp:ListItem>
                <asp:ListItem>April</asp:ListItem>
                <asp:ListItem>May</asp:ListItem>
                <asp:ListItem>June</asp:ListItem>
                <asp:ListItem>July</asp:ListItem>
                <asp:ListItem>August</asp:ListItem>
                <asp:ListItem>September</asp:ListItem>
                <asp:ListItem>October</asp:ListItem>
                <asp:ListItem>November</asp:ListItem>
                <asp:ListItem>December</asp:ListItem>
            </asp:DropDownList></td>
                    <td style="width: 60px">
            <asp:Label ID="Label15" runat="server" Text="Year:" Width="29px"></asp:Label></td>
                    <td style="width: 80px">
                        <asp:DropDownList cssClass="mwisTextBox" ID="lstYear" runat="server" Width="63px">
                <asp:ListItem>1950</asp:ListItem>
                <asp:ListItem>1951</asp:ListItem>
                <asp:ListItem>1952</asp:ListItem>
                <asp:ListItem>1953</asp:ListItem>
                <asp:ListItem>1954</asp:ListItem>
                <asp:ListItem>1955</asp:ListItem>
                <asp:ListItem>1956</asp:ListItem>
                <asp:ListItem>1957</asp:ListItem>
                <asp:ListItem>1958</asp:ListItem>
                <asp:ListItem>1959</asp:ListItem>
                <asp:ListItem>1960</asp:ListItem>
                <asp:ListItem>1961</asp:ListItem>
                <asp:ListItem>1962</asp:ListItem>
                <asp:ListItem>1963</asp:ListItem>
                <asp:ListItem>1964</asp:ListItem>
                <asp:ListItem>1965</asp:ListItem>
                <asp:ListItem>1966</asp:ListItem>
                <asp:ListItem>1967</asp:ListItem>
                <asp:ListItem>1968</asp:ListItem>
                <asp:ListItem>1969</asp:ListItem>
                <asp:ListItem>1970</asp:ListItem>
                <asp:ListItem>1971</asp:ListItem>
                <asp:ListItem>1972</asp:ListItem>
                <asp:ListItem>1973</asp:ListItem>
                <asp:ListItem>1974</asp:ListItem>
                <asp:ListItem>1975</asp:ListItem>
                <asp:ListItem>1976</asp:ListItem>
                <asp:ListItem>1977</asp:ListItem>
                <asp:ListItem>1978</asp:ListItem>
                <asp:ListItem>1979</asp:ListItem>
                <asp:ListItem>1980</asp:ListItem>
                <asp:ListItem>1981</asp:ListItem>
                <asp:ListItem>1982</asp:ListItem>
                <asp:ListItem>1983</asp:ListItem>
                <asp:ListItem>1984</asp:ListItem>
                <asp:ListItem>1985</asp:ListItem>
                <asp:ListItem>1986</asp:ListItem>
                <asp:ListItem>1987</asp:ListItem>
                <asp:ListItem>1988</asp:ListItem>
                <asp:ListItem>1989</asp:ListItem>
                <asp:ListItem>1990</asp:ListItem>
            </asp:DropDownList></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td style="width: 48px; height: 16px;">
            <asp:Label ID="Label16" runat="server" Text="National ID:" Width="90px"></asp:Label>
        </td>
        <td colspan="4">
            <asp:TextBox cssClass="mwisTextBox" ID="txtNationalID" runat="server"></asp:TextBox>&nbsp;
            <asp:RequiredFieldValidator ID="rfvNationalId" ControlToValidate="txtNationalID" Text="National ID is Required." runat="server"/>
        </td>
    </tr>
    <tr>
        <td colspan="5"><hr />
            <span style="font-size: 14pt">Your User ID and Password</span>
            <hr />
            </td>
    </tr>
        <tr>
            <td colspan="5" style="height: 9px">
                Create an MWIS user Name
            </td>
        </tr>
    <tr>
        <td style="width: 48px; height: 13px">
            <asp:Label ID="Label9" runat="server" Text="User Name:" Width="257px"></asp:Label>
        </td>
        <td colspan="4">
            <asp:TextBox cssClass="mwisTextBox" ID="txtUserName" runat="server" OnTextChanged="txtUsrName_TextChanged"></asp:TextBox>&nbsp;
            <asp:RequiredFieldValidator ID="rfvUserName" ControlToValidate="txtUserName" Text="User Name is Required." runat="server"/>
            <asp:Label ID="lblUserExistError" runat="server" ForeColor="Red" Text="This User Name already exist."
                Visible="False" Width="232px"></asp:Label></td>
    </tr>
    <tr>
        <td colspan="5" style="height: 26px">
            Create Password
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label10" runat="server" Text="Password:" Width="257px"></asp:Label>
        </td>
        <td colspan="4">
        <asp:TextBox cssClass="mwisTextBox" ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>&nbsp;
            <asp:RequiredFieldValidator ID="rfvPassword" ControlToValidate="txtPassword" Text="Password is Required." runat="server"/>
        </td>
    </tr>
    <tr>
         <td colspan="5" style="height: 28px">
                6-Character minimum. Enter a password that's easy for you to remember, but difficult
                for others to guess.
            </td>
    </tr>
    <tr>
        <td colspan="5" style="height: 26px">
            Re-enter password
        </td>
    </tr>
    <tr>
        <td style="width: 48px; height: 8px">
            <asp:Label ID="Label11" runat="server" Text="Password:" Width="257px"></asp:Label>
        </td>
        <td colspan="4">
            <asp:TextBox id="txtRePassword" CssClass="mwisTextBox" TextMode="password" runat="server"></asp:TextBox>&nbsp;
            <asp:CompareValidator ID="cmpValRePass" ControlToCompare="txtPassword" ControlToValidate="txtRePassword" ErrorMessage="Password Values are Not Equal" runat="server"></asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td colspan="5" style="height: 26px">
            <hr /><span style="font-size: 14pt">Terms of use and your privacy</span><hr /></td>
    </tr>
    <tr>
        <td>
            <asp:CheckBox ID="chkAgree" runat="server" Text="I agree to the following:" Width="251px" />
        </td>
        <td colspan="4">
            <asp:BulletedList ID="BulletedList1" runat="server" Height="42px" Width="637px">
                <asp:ListItem>I accept the User Agreement and Privacy Policy</asp:ListItem>
                <asp:ListItem>I may receive communications from WMIS and I understand that I can change my notification preferences at any time in my WMIS</asp:ListItem>
                <asp:ListItem>I am at least 18 years old</asp:ListItem>
            </asp:BulletedList>
        </td>
    </tr>
    <tr style="font-size: 12pt">
        <td style="width: 48px; height: 26px">
        </td>
        <td style="width: 109px; height: 26px" colspan="2">
            <asp:Button CssClass="mwisButton" ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
        </td>
        <td style="width: 100px; height: 26px" colspan="2">
            <asp:Button CssClass ="mwisButton" ID="btnReset" runat="server" Text="Reset" OnClick="btnReset_Click" />
        </td>
    </tr>
    </table>
    
</asp:Content>

